function getSuffixOfFile(filename) {
    let result = '.' + filename.substr(filename.lastIndexOf('.') + 1);
    return result;
}

module.exports.getSuffixOfFile = getSuffixOfFile;